<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>实验室管理系统-主页</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/homepage.css">
  <script src="static/js/jquery-3.2.1.min.js" charset="utf-8"></script>
  <script src="static/js/LabManagerMainTools.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
    <div class="homepageContainer">
      <div class="homepageHeader">
        <div class="homeTitle">
          <h1>实验室管理系统</h1>
        </div>
        <div class="navBox">
          <ul class="navList">
            <li class="liActive"><a href="">主页</a></li>
            <li><a href="personnalManagement.html">人员管理</a></li>
            <li><a href="resourceManage.html">物资管理</a></li>
            <li><a href="setting.html">个人信息设置</a></li>
            <li><a href="javascript:;" onclick="loginOut();">登出</a></li>
          </ul>
        </div>
      </div>
      <div class="containerBox">
          <div class="homeWelcome">
            <span>欢迎，</span>
            <span class="homeUserName"></span>
            <span class="userType">同学</span>
          </div>
          <div class="recentArr">
            <h2>近期安排</h2>
            <div class="recentPlan">
              <div class="rencentPlanRecordTitle">
                <span class="planOrder">等级</span>
                <span class="planTime">时间</span>
                <span class="planContain">内容</span>
                <span class="planOperate">操作</span>
              </div>
              <div class="clear"></div>
              <div class="rentPlanList">
                <!-- <span class="planOrder">5</span>
                <span class="planTime smallDate">2018.1.4-2018.1.9</span>
                <span class="planContain">xxx项目</span>
                <span class="planOperate">
                  <button class="deletePlanBtn" onclick="deleteRencentPlan()">删除</button>
                </span> -->
              </div>
            </div>
            <div class="addPlanBox">
              <h4>添加近期安排</h4>
              <span class="label">
                <span>开始时间:</span>
                <input type="date" class="startDate" id="startDate" value="2017-09-01"/>
              </span>
              <span class="label">
                <span>结束时间:</span>
                <input type="date" class="endDate" id="endDate" value="2018-01-01"/>
              </span>
              <span class="label">
                <span>近期安排:</span>
                <input type="text" id="planContent" placeholder="输入近期安排描述"/>
              </span>
              <span class="label">
                <span>紧急等级:</span>
                <select name="" id="selectPlanLevel">
                  <option value="">5</option>
                  <option value="">4</option>
                  <option value="">3</option>
                  <option value="">2</option>
                  <option value="">1</option>
                </select>
              </span>
              <button class="addPlanBtn" onclick="addPlanBtn()">添加</button>
            </div>
          </div>
          <div class="mySupplies">
            <h2>我的物资</h2>
            <div class="mySuppliesBox">
              <div class="mySuppliesTitle">
                <span class="sourceOrder">物资名称</span>
                <span class="sourceOwner">物资信息</span>
                <span class="sourcePower">借用时间</span>
                <span class="sourceOperate">归还时间</span>
              </div>
              <div class="clear"></div>
              <div class="mySuppliesItemBox">
              </div>
            </div>
            <div class="labResourceList">
              <h4>实验室闲置物资列表</h4>
              <div class="unUsedResouceTitile">
                <span class="unUsedResouceId">物资ID</span>
                <span class="unUsedResouceName">物资名称</span>
                <span class="unUsedResouceContent">物资信息</span>
                <span class="unUsedResouceApply">申请</span>
              </div>
              <div class="unUsedResouceItemBox">

              </div>
            </div>
          </div>
          <div class="showApplyUnUsedBox">
            <h4>申请闲置物资</h4>
            <span class="label">物资编号</span>
            <span id="applyUnUsedResourceId"></span>
            <div class="clear"></div>
            <span class="label">归还日期</span>
            <input type="date" id="applyReturnDate" value="2017-12-20"/>
            <div class="clear"></div>
            <div class="applyUnUsedResourceBtnBox">
              <button onclick="applyUnUsedResource()">确认</button>
              <button onclick="closeApplyUnUsedBox()">取消</button>
            </div>
          </div>
          <div class="weekSummary">
            <h2>周总结活动</h2>
            <div class="weekSummaryBox">
              <div class="weekSummaryTitle">
                <span class="semester">学期</span>
                <span class="weekCount">周数</span>
                <span class="weekSum">周总结</span>
                <span class="view">查看</span>
              </div>
              <div class="weekSummaryContainer">
              </div>
            </div>
            <div class="writeSummaryBox">
              <h4>新建周总结</h4>
              <div class="writeSummary">
                <input type="text" id="summaryTitle" class="summaryTitle" placeholder="周总结题目"/>
                <textarea id="summaryText" class="summaryText" name="name"  placeholder="周总结提交后不得修改.."></textarea>
                <input id="inputSemeter" class="inputSemeter" type="text" placeholder="学期"/>
                <input id="inputWeekCount" class="inputWeekCount" type="text" placeholder="周数" />
                <button class="submitSummary" onclick="submitSummary()">提交总结</button>
              </div>
            </div>
          </div>
          <div class="viewUserWeekSummaryBox">
            <div class="viewUserWeekSummaryContent">
            </div>
            <div class="viewUserWeekSummaryBtnBox">
              <button onclick="closeViewSummary()">关闭</button>
            </div>
          </div>
      </div>
    </div>
    <script src="static/js/homepage.js" charset="utf-8"></script>
</body>
</html>
